package co.com.javeriana.aes.touresbalon.exernalservices;

import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.ejb.Stateless;

/**
 *
 * @author Jonathan Fernandez <jonathan.fvargas@gmail.com>
 */
@WebService(serviceName = "ServicioWebAvianca")
@Stateless()
public class ServicioWebAvianca {

    /**
     * web service to cancel avianca flight
     * @param txt
     * @param idPasajero
     * @return true
     */
    @WebMethod(operationName = "cancelarVuelo")
    public boolean cancelarVuelo(@WebParam(name = "numVuelo") int txt, @WebParam(name = "idPasajero") int idPasajero) {
        return true;
    }
}
